//
//  Observable+Opt.swift
//  XNetwork_Example
//
//  Created by x on 2024/8/10.
//  Copyright © 2024 CocoaPods. All rights reserved.
//

import RxSwift

extension Observable where Element: Equatable {
    func exclude(value: Element) -> Observable<Element> {
        return filter { (selfE) -> Bool in
            return value != selfE
        }
    }
}
